using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Workflow.Application.ErrorCode;

namespace Workflow.Application.DTOs.Input
{
    /// <summary>
    /// 获取流程业务实例输入参数
    /// </summary>
    public class GetWorkflowInstanceInput : PageInput
    {
        /// <summary>
        /// 流程标题（可选，用于模糊查询）
        /// </summary>
        public string? Title { get; set; }

        /// <summary>
        /// 申请人ID（可选）
        /// </summary>
        public long? ApplicantUserId { get; set; }

        /// <summary>
        /// 创建时间开始日期（可选）
        /// </summary>
        public DateTime? StartDate { get; set; }

        /// <summary>
        /// 创建时间结束日期（可选）
        /// </summary>
        public DateTime? EndDate { get; set; }
    }

    /// <summary>
    /// 获取流程详情的输入参数
    /// </summary>
    public class GetWorkflowDetailInput
    {
        /// <summary>
        /// 流程实例ID
        /// </summary>
        public string WorkflowInstanceId { get; set; }
    }
} 